﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace FourKill.Engine
{
    public class MistObject : BaseGameObject
    {
        public MistObject(int distance, double percentange)
        {
            this.LocationRelativeToCamera = new ObjectViewLocation();
            this.LocationRelativeToCamera.Distance = distance;
            this.Percentage = percentange;
            this.Color = System.Drawing.Color.FromArgb(0, _rand.Next(60, 128), _rand.Next(0, 60));
        }

        public override void UpdateLocation(IPaintableContext context)
        {
            // do nothing;
        }

        public double Percentage { get; set; }

        public override void Tick() { }

        public override IPaintable Painter
        {
            get
            {
                return Mist.Instance;
            }
        }
    }
}
